package org.shop.dao;

import java.util.List;
import java.util.Map;

public interface StatisticalMapper {
	/**
	 * 按月、日统计商品销量
	 * @return
	 */
	public List<Map<String, Object>> getGoodsMonthPurchaseCount(Map<String, Object> paramMap);
	public List<Map<String, Object>> getGoodsDayPurchaseCount(Map<String, Object> paramMap);
	/**
	 * 销量排行前15个商品
	 * @return
	 */
	public List<Map<String, Object>> getGoodsPurchaseCount(Map<String, Object> paramMap);
	/**
	 * 销量排行前15个商家
	 * @return
	 */
	public List<Map<String, Object>> getMerchantPurchaseCount(Map<String, Object> paramMap);
	
	/**
	 * 统计店铺的商品游览量
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getMerchantOfGoodsPageView(Map<String, Object> paramMap);
	
	/**
	 * 店铺的销售金额统计（按日统计）
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getMerchantOfSalesMoney(Map<String, Object> paramMap);

	/**
	 * 按月份统计订单金额
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getGoodsMonthOfSalesMoney(Map<String, Object> paramMap);
	
	/**
	 * 统计用户的月活统计
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getUserOfMonthLoginRecord(Map<String, Object> paramMap);
	/**
	 * 统计用户的日活统计
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getUserOfDayLoginRecord(Map<String, Object> paramMap);
    /**
     * 店铺获取商品的浏览量
     * @param merchantId
     * @return
     */
    public List<Map<String,Object>> getGoodsOfPageView(Long merchantId);
}
